// 统一请求路径前缀在libs/axios.js中修改
import { getRequest, postRequest, putRequest, postBodyRequest, exportPost, getNoAuthRequest, postNoAuthRequest } from '@/libs/axios';

// 分页获取数据
export const getBysXjInfoList = params => {
    return postRequest('/bysXjInfo/getByPage', params);
};
// 添加
export const addBysXjInfo = params => {
    return postRequest('/bysXjInfo/insert', params);
};
// 编辑
export const editBysXjInfo = params => {
    return postRequest('/bysXjInfo/update', params);
};
// 删除
export const deleteBysXjInfo = params => {
    return postRequest('/bysXjInfo/delByIds', params);
};
//获取全部
export const getAllBysXjInfo = params => {
    return postRequest('/bysXjInfo/getAll', params);
};
//导出全部
export const exportAllBysXjInfo = params => {
    return exportPost('/bysXjInfo/export', params);
};
// 导入学籍信息
export const importData = params => {
    return postBodyRequest('/bysXjInfo/importData', params);
};
// 导入学籍信息(easyExcel)
// export const easyExcelImportData = (params) => {
//     return postBodyRequest('/bysXjInfo/easyExcelImportData', params)
// }
export const easyExcelImportData = params => {
    return postBodyRequest('/bysXjInfo/import', params);
};
